package presentaion.financialui;

import java.awt.EventQueue;

import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.JLabel;
import java.awt.Font;
import javax.swing.JTable;
import javax.swing.JTextField;
import javax.swing.JButton;
import javax.swing.JRadioButton;
import javax.swing.SwingConstants;

public class viewHistoryReportUI {

	private JFrame frame;
	private JTable table;
	private JTextField textField;
	private JTextField textField_1;
	private JTextField textField_2;
	private JTextField textField_3;
	private JTextField textField_4;

	/**
	 * Launch the application.
	 */
	public static void main(String[] args) {
		EventQueue.invokeLater(new Runnable() {
			public void run() {
				try {
					viewHistoryReportUI window = new viewHistoryReportUI();
					window.frame.setVisible(true);
				} catch (Exception e) {
					e.printStackTrace();
				}
			}
		});
	}

	/**
	 * Create the application.
	 */
	public viewHistoryReportUI() {
		initialize();
	}

	/**
	 * Initialize the contents of the frame.
	 */
	private void initialize() {
		frame = new JFrame();
		frame.setBounds(100, 100, 773, 457);
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		frame.getContentPane().setLayout(null);
		
		JPanel panel = new JPanel();
		panel.setLayout(null);
		panel.setBounds(128, 57, 623, 332);
		frame.getContentPane().add(panel);
		
		JRadioButton radioButton_1 = new JRadioButton("进货类");
		radioButton_1.setBounds(496, 27, 121, 23);
		panel.add(radioButton_1);
		
		JLabel label = new JLabel("起始时间：");
		label.setBounds(10, 52, 74, 15);
		panel.add(label);
		
		JLabel label_1 = new JLabel("查看经营历程表");
		label_1.setFont(new Font("宋体", Font.PLAIN, 33));
		label_1.setBounds(167, 0, 279, 38);
		panel.add(label_1);
		
		table = new JTable();
		table.setBounds(10, 105, 592, 229);
		panel.add(table);
		
		textField = new JTextField();
		textField.setColumns(10);
		textField.setBounds(84, 49, 126, 21);
		panel.add(textField);
		
		JLabel label_2 = new JLabel("截止时间：");
		label_2.setBounds(220, 52, 64, 15);
		panel.add(label_2);
		
		textField_1 = new JTextField();
		textField_1.setColumns(10);
		textField_1.setBounds(271, 49, 155, 21);
		panel.add(textField_1);
		
		JLabel label_4 = new JLabel("客户姓名：");
		label_4.setBounds(10, 77, 74, 15);
		panel.add(label_4);
		
		textField_2 = new JTextField();
		textField_2.setColumns(10);
		textField_2.setBounds(84, 74, 87, 21);
		panel.add(textField_2);
		
		textField_3 = new JTextField();
		textField_3.setColumns(10);
		textField_3.setBounds(271, 73, 101, 21);
		panel.add(textField_3);
		
		JLabel label_5 = new JLabel("业务员姓名：");
		label_5.setBounds(187, 77, 74, 15);
		panel.add(label_5);
		
		JLabel label_6 = new JLabel("仓库：");
		label_6.setBounds(382, 77, 54, 15);
		panel.add(label_6);
		
		textField_4 = new JTextField();
		textField_4.setColumns(10);
		textField_4.setBounds(449, 74, 96, 21);
		panel.add(textField_4);
		
		JRadioButton radioButton = new JRadioButton("销售类");
		radioButton.setBounds(424, 27, 121, 23);
		panel.add(radioButton);
		
		JRadioButton radioButton_2 = new JRadioButton("库存类");
		radioButton_2.setBounds(496, 48, 121, 23);
		panel.add(radioButton_2);
		
		JRadioButton radioButton_3 = new JRadioButton("财务类");
		radioButton_3.setBounds(424, 48, 121, 23);
		panel.add(radioButton_3);
		
		JButton button = new JButton("退出系统");
		button.setBounds(415, 24, 93, 23);
		frame.getContentPane().add(button);
		
		JButton button_1 = new JButton("软件帮助");
		button_1.setBounds(289, 24, 93, 23);
		frame.getContentPane().add(button_1);
		
		JLabel label_3 = new JLabel("当前用户");
		label_3.setBounds(615, 14, 54, 15);
		frame.getContentPane().add(label_3);
		
		JButton button_2 = new JButton("注销");
		button_2.setBounds(670, 10, 64, 19);
		frame.getContentPane().add(button_2);
		
		JButton button_3 = new JButton("制定收付款单");
		button_3.setBounds(0, 163, 118, 23);
		frame.getContentPane().add(button_3);
		
		JButton button_4 = new JButton("查看经营情况表");
		button_4.setBounds(0, 290, 118, 23);
		frame.getContentPane().add(button_4);
		
		JButton button_5 = new JButton("查看销售明细表");
		button_5.setBounds(0, 247, 118, 23);
		frame.getContentPane().add(button_5);
		
		JButton button_6 = new JButton("账户管理");
		button_6.setBounds(0, 120, 118, 23);
		frame.getContentPane().add(button_6);
		
		JButton button_7 = new JButton("制定现金费用单");
		button_7.setBounds(0, 206, 118, 23);
		frame.getContentPane().add(button_7);
	}
}
